home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac-Source 1994 July
/
Mac-Source_July_1994.iso
/
Other Langs
/
python
/
emacs-info
/
python-lib.info-5
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
GNU Info File
|
1994-04-01
|
49.9 KB
|
1,064 lines
|
[
TEXT/R*ch
]
This is Info file python-lib.info, produced by Makeinfo-1.55 from the
input file lib.texi.
This file describes the built-in types, exceptions and functions and the
standard modules that come with the Python system. It assumes basic
knowledge about the Python language. For an informal introduction to
the language, see the Python Tutorial. The Python Reference Manual
gives a more formal definition of the language. (These manuals are not
yet available in INFO or Texinfo format.)
Copyright (C) 1991, 1992, 1993, 1994 by Stichting Mathematisch Centrum,
Amsterdam, The Netherlands.
All Rights Reserved
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in
supporting documentation, and that the names of Stichting Mathematisch
Centrum or CWI not be used in advertising or publicity pertaining to
distribution of the software without specific, written prior permission.
STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE FOR
ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
File: python-lib.info, Node: gl, Next: Standard Modules GL and DEVICE, Prev: fm, Up: SGI IRIX ONLY
Built-in Module `gl'
====================
This module provides access to the Silicon Graphics *Graphics Library*.
It is available only on Silicon Graphics machines.
*Warning:* Some illegal calls to the GL library cause the Python
interpreter to dump core. In particular, the use of most GL calls is
unsafe before the first window is opened.
The module is too large to document here in its entirety, but the
following should help you to get started. The parameter conventions
for the C functions are translated to Python as follows:
* All (short, long, unsigned) int values are represented by Python
integers.
* All float and double values are represented by Python floating
point numbers. In most cases, Python integers are also allowed.
* All arrays are represented by one-dimensional Python lists. In
most cases, tuples are also allowed.
* All string and character arguments are represented by Python
strings, for instance, `winopen('Hi There!')' and `rotate(900,
'z')'.
* All (short, long, unsigned) integer arguments or return values
that are only used to specify the length of an array argument are
omitted. For example, the C call
lmdef(deftype, index, np, props)
is translated to Python as
lmdef(deftype, index, props)
* Output arguments are omitted from the argument list; they are
transmitted as function return values instead. If more than one
value must be returned, the return value is a tuple. If the C
function has both a regular return value (that is not omitted
because of the previous rule) and an output argument, the return
value comes first in the tuple. Examples: the C call
getmcolor(i, &red, &green, &blue)
is translated to Python as
red, green, blue = getmcolor(i)
The following functions are non-standard or have special argument
conventions:
- function of module gl: varray (ARGUMENT)
Equivalent to but faster than a number of `v3d()' calls. The
ARGUMENT is a list (or tuple) of points. Each point must be a
tuple of coordinates `(X, Y, Z)' or `(X, Y)'. The points may be
2- or 3-dimensional but must all have the same dimension. Float
and int values may be mixed however. The points are always
converted to 3D double precision points by assuming `Z = 0.0' if
necessary (as indicated in the man page), and for each point
`v3d()' is called.
- function of module gl: nvarray ()
Equivalent to but faster than a number of `n3f' and `v3f' calls.
The argument is an array (list or tuple) of pairs of normals and
points. Each pair is a tuple of a point and a normal for that
point. Each point or normal must be a tuple of coordinates `(X,
Y, Z)'. Three coordinates must be given. Float and int values
may be mixed. For each pair, `n3f()' is called for the normal,
and then `v3f()' is called for the point.
- function of module gl: vnarray ()
Similar to `nvarray()' but the pairs have the point first and the
normal second.
- function of module gl: nurbssurface (S_K, T_K, CTL, S_ORD, T_ORD,
TYPE)
Defines a nurbs surface. The dimensions of `CTL[][]' are computed
as follows: `[len(S_K) - S_ORD]', `[len(T_K) - T_ORD]'.
- function of module gl: nurbscurve (KNOTS, CTLPOINTS, ORDER, TYPE)
Defines a nurbs curve. The length of ctlpoints is `len(KNOTS) -
ORDER'.
- function of module gl: pwlcurve (POINTS, TYPE)
Defines a piecewise-linear curve. POINTS is a list of points.
tYPE must be `N_ST'.
- function of module gl: pick (N)
- function of module gl: select (N)
The only argument to these functions specifies the desired size of
the pick or select buffer.
- function of module gl: endpick ()
- function of module gl: endselect ()
These functions have no arguments. They return a list of integers
representing the used part of the pick/select buffer. No method
is provided to detect buffer overrun.
Here is a tiny but complete example GL program in Python:
import gl, GL, time
def main():
gl.foreground()
gl.prefposition(500, 900, 500, 900)
w = gl.winopen('CrissCross')
gl.ortho2(0.0, 400.0, 0.0, 400.0)
gl.color(GL.WHITE)
gl.clear()
gl.color(GL.RED)
gl.bgnline()
gl.v2f(0.0, 0.0)
gl.v2f(400.0, 400.0)
gl.endline()
gl.bgnline()
gl.v2f(400.0, 0.0)
gl.v2f(0.0, 400.0)
gl.endline()
time.sleep(5)
main()
File: python-lib.info, Node: Standard Modules GL and DEVICE, Next: imgfile, Prev: gl, Up: SGI IRIX ONLY
Standard Modules `GL' and `DEVICE'
==================================
These modules define the constants used by the Silicon Graphics
*Graphics Library* that C programmers find in the header files
`<gl/gl.h>' and `<gl/device.h>'. Read the module source files for
details.
File: python-lib.info, Node: imgfile, Prev: Standard Modules GL and DEVICE, Up: SGI IRIX ONLY
Built-in module `imgfile'
=========================
The imgfile module allows python programs to access SGI imglib image
files (also known as `.rgb' files). The module is far from complete,
but is provided anyway since the functionality that there is is enough
in some cases. Currently, colormap files are not supported.
The module defines the following variables and functions:
- exception of module imgfile: error
This exception is raised on all errors, such as unsupported file
type, etc.
- function of module imgfile: getsizes (FILE)
This function returns a tuple `(X, Y, Z)' where X and Y are the
size of the image in pixels and Z is the number of bytes per
pixel. Only 3 byte RGB pixels and 1 byte greyscale pixels are
currently supported.
- function of module imgfile: read (FILE)
This function reads and decodes the image on the specified file,
and returns it as a python string. The string has either 1 byte
greyscale pixels or 4 byte RGBA pixels. The bottom left pixel is
the first in the string. This format is suitable to pass to
`gl.lrectwrite', for instance.
- function of module imgfile: readscaled (FILE, X, Y, FILTER, BLUR)
This function is identical to read but it returns an image that is
scaled to the given X and Y sizes. If the FILTER and BLUR
parameters are omitted scaling is done by simply dropping or
duplicating pixels, so the result will be less than perfect,
especially for computer-generated images.
Alternatively, you can specify a filter to use to smoothen the
image after scaling. The filter forms supported are `'impulse'',
`'box'', `'triangle'', `'quadratic'' and `'gaussian''. If a filter
is specified BLUR is an optional parameter specifying the
blurriness of the filter. It defaults to `1.0'.
Readscaled makes no attempt to keep the aspect ratio correct, so
that is the users' responsibility.
- function of module imgfile: ttob (FLAG)
This function sets a global flag which defines whether the scan
lines of the image are read or written from bottom to top (flag is
zero, compatible with SGI GL) or from top to bottom(flag is one,
compatible with X). The default is zero.
- function of module imgfile: write (FILE, DATA, X, Y, Z)
This function writes the RGB or greyscale data in DATA to image
file FILE. X and Y give the size of the image, Z is 1 for 1 byte
greyscale images or 3 for RGB images (which are stored as 4 byte
values of which only the lower three bytes are used). These are
the formats returned by `gl.lrectread'.
File: python-lib.info, Node: SUNOS ONLY, Next: Function Index, Prev: SGI IRIX ONLY, Up: Top
SUNOS ONLY
**********
The modules described in this chapter provide interfaces to features
that are unique to the SunOS operating system (versions 4 and 5; the
latter is also known as SOLARIS version 2).
* Menu:
* sunaudiodev::
File: python-lib.info, Node: sunaudiodev, Prev: SUNOS ONLY, Up: SUNOS ONLY
Built-in module `sunaudiodev'
=============================
This module allows you to access the sun audio interface. The sun audio
hardware is capable of recording and playing back audio data in U-LAW
format with a sample rate of 8K per second. A full description can be
gotten with `man audio'.
The module defines the following variables and functions:
- exception of module sunaudiodev: error
This exception is raised on all errors. The argument is a string
describing what went wrong.
- function of module sunaudiodev: open (MODE)
This function opens the audio device and returns a sun audio device
object. This object can then be used to do I/O on. The MODE
parameter is one of `'r'' for record-only access, `'w'' for
play-only access, `'rw'' for both and `'control'' for access to the
control device. Since only one process is allowed to have the
recorder or player open at the same time it is a good idea to open
the device only for the activity needed. See the audio manpage for
details.
* Menu:
* Audio device object methods::
File: python-lib.info, Node: Audio device object methods, Prev: sunaudiodev, Up: sunaudiodev
Audio device object methods
---------------------------
The audio device objects are returned by `open' define the following
methods (except `control' objects which only provide getinfo, setinfo
and drain):
- Method on audio device: close ()
This method explicitly closes the device. It is useful in
situations where deleting the object does not immediately close it
since there are other references to it. A closed device should not
be used again.
- Method on audio device: drain ()
This method waits until all pending output is processed and then
returns. Calling this method is often not necessary: destroying
the object will automatically close the audio device and this will
do an implicit drain.
- Method on audio device: flush ()
This method discards all pending output. It can be used avoid the
slow response to a user's stop request (due to buffering of up to
one second of sound).
- Method on audio device: getinfo ()
This method retrieves status information like input and output
volume, etc. and returns it in the form of an audio status object.
This object has no methods but it contains a number of attributes
describing the current device status. The names and meanings of
the attributes are described in `/usr/include/sun/audioio.h' and
in the audio man page. Member names are slightly different from
their C counterparts: a status object is only a single structure.
Members of the `play' substructure have `o_' prepended to their
name and members of the `record' structure have `i_'. So, the C
member `play.sample_rate' is accessed as `o_sample_rate',
`record.gain' as `i_gain' and `monitor_gain' plainly as
`monitor_gain'.
- Method on audio device: ibufcount ()
This method returns the number of samples that are buffered on the
recording side, i.e. the program will not block on a `read' call
of so many samples.
- Method on audio device: obufcount ()
This method returns the number of samples buffered on the playback
side. Unfortunately, this number cannot be used to determine a
number of samples that can be written without blocking since the
kernel output queue length seems to be variable.
- Method on audio device: read (SIZE)
This method reads SIZE samples from the audio input and returns
them as a python string. The function blocks until enough data is
available.
- Method on audio device: setinfo (STATUS)
This method sets the audio device status parameters. The STATUS
parameter is an device status object as returned by `getinfo' and
possibly modified by the program.
- Method on audio device: write (SAMPLES)
Write is passed a python string containing audio samples to be
played. If there is enough buffer space free it will immedeately
return, otherwise it will block.
There is a companion module, `SUNAUDIODEV', which defines useful
symbolic constants like `MIN_GAIN', `MAX_GAIN', `SPEAKER', etc. The
names of the constants are the same names as used in the C include file
`<sun/audioio.h>', with the leading string `AUDIO_' stripped.
Useability of the control device is limited at the moment, since there
is no way to use the 'wait for something to happen' feature the device
provides. This is because that feature makes heavy use of signals, and
these do not map too well onto Python.
File: python-lib.info, Node: Function Index, Next: Variable Index, Prev: SUNOS ONLY, Up: Top
Function Index
**************
* Menu:
* == (operator): Comparisons.
* abs: Built-in Functions.
* accept on socket: Socket Object.
* acos: math.
* acquire on lock: thread.
* activate_form on form object: Form object.
* add: audioop.
* additem on menu: Menu Object.
* add_box on form object: Form object.
* add_browser on form object: Form object.
* add_button on form object: Form object.
* add_choice on form object: Form object.
* add_clock on form object: Form object.
* add_counter on form object: Form object.
* add_dial on form object: Form object.
* add_input on form object: Form object.
* add_lightbutton on form object: Form object.
* add_menu on form object: Form object.
* add_positioner on form object: Form object.
* add_roundbutton on form object: Form object.
* add_slider on form object: Form object.
* add_text on form object: Form object.
* add_timer on form object: Form object.
* add_valslider on form object: Form object.
* adpcm2lin: audioop.
* adpcm32lin: audioop.
* allocate_lock: thread.
* and (operator): Boolean Operations.
* append: array.
* append (list method): Mutable Sequence Types.
* apply: Built-in Functions.
* array: array.
* arrow on text-edit: Text-edit Object.
* asctime: time.
* asin: math.
* askfile: Functions Defined in Module stdwin.
* askstr: Functions Defined in Module stdwin.
* askync: Functions Defined in Module stdwin.
* atan: math.
* atan2: math.
* atof: string.
* atoi: string.
* atol: string.
* avg: audioop.
* avgpp: audioop.
* baseline: Functions Defined in Module stdwin.
* baseline on drawing: Drawing Object.
* basename: posixpath.
* begindrawing on window: Window Object.
* bgn_group on form object: Form object.
* bias: audioop.
* binary on mpz: mpz.
* bind on socket: Socket Object.
* bitmap on drawing: Drawing Object.
* box on drawing: Drawing Object.
* byteswap: array.
* calcsize: struct.
* ceil: math.
* center: string.
* change on window: Window Object.
* chdir: posix.
* check on menu: Menu Object.
* check_forms: Functions defined in module fl.
* chmod: posix.
* choice: rand.
* chr: Built-in Functions.
* circle on drawing: Drawing Object.
* cliprect on drawing: Drawing Object.
* close: posix.
* close on audio device: Audio device object methods.
* close on bitmap: Bitmap Object.
* close on drawing: Drawing Object.
* close on file: File Objects.
* close on menu: Menu Object.
* close on socket: Socket Object.
* close on text-edit: Text-edit Object.
* close on window: Window Object.
* closeport on audio port object: al.
* cmp: Built-in Functions.
* coerce: Built-in Functions.
* color: Functions defined in module fl.
* commonprefix: posixpath.
* compile: Built-in Functions.
* compile: regex.
* compress: jpeg.
* connect on socket: Socket Object.
* connectionnumber: Functions Defined in Module stdwin.
* copy on md5: md5.
* cos: math.
* cosh: math.
* count (list method): Mutable Sequence Types.
* crop: imageop.
* cross: audioop.
* ctime: time.
* deactivate_form on form object: Form object.
* decompress: jpeg.
* delete_object on FORMS object: FORMS object.
* digest on md5: md5.
* dir: Built-in Functions.
* dither2grey2: imageop.
* dither2mono: imageop.
* divm: mpz.
* divmod: Built-in Functions.
* do_forms: Functions defined in module fl.
* drain on audio device: Audio device object methods.
* draw on text-edit: Text-edit Object.
* dump: marshal.
* dumps: marshal.
* dup: posix.
* dup2: posix.
* elarc on drawing: Drawing Object.
* enable on menu: Menu Object.
* enddrawing on drawing: Drawing Object.
* endpick: gl.
* endselect: gl.
* end_group on form object: Form object.
* enumerate: fm.
* erase on drawing: Drawing Object.
* eval: Built-in Functions.
* event on text-edit: Text-edit Object.
* execl: os.
* execle: os.
* execlp: os.
* execv: posix.
* execve: posix.
* execvp: os.
* exists: posixpath.
* exit: sys.
* exit_prog: thread.
* exit_thread: thread.
* exp: math.
* expandtabs: string.
* expanduser: posixpath.
* fabs: math.
* fdopen: posix.
* fetchcolor: Functions Defined in Module stdwin.
* fileno: Functions Defined in Module stdwin.
* fileno on socket: Socket Object.
* fillcircle on drawing: Drawing Object.
* fillelarc on drawing: Drawing Object.
* fillpoly on drawing: Drawing Object.
* filter: Built-in Functions.
* find: string.
* findfactor: audioop.
* findfit: audioop.
* findfont: fm.
* findmax: audioop.
* find_first on form object: Form object.
* find_last on form object: Form object.
* fleep: Functions Defined in Module stdwin.
* float: Built-in Functions.
* float (built-in function): Numeric Types.
* floor: math.
* flush on audio device: Audio device object methods.
* flush on file: File Objects.
* fmod: math.
* fontpath: fm.
* fork: posix.
* freeze_form on form object: Form object.
* freeze_object on FORMS object: FORMS object.
* frexp: math.
* fromfd: socket.
* fromfile: array.
* fromlist: array.
* fromstring: array.
* fstat: posix.
* gcd: mpz.
* gcdext: mpz.
* geom2rect: rect.
* getactive: Functions Defined in Module stdwin.
* getattr: Built-in Functions.
* getbgcolor: Functions Defined in Module stdwin.
* getbgcolor on drawing: Drawing Object.
* getbit on bitmap: Bitmap Object.
* getchannels on audio configuration object: al.
* getcomment on font handle: fm.
* getconfig on audio port object: al.
* getcutbuffer: Functions Defined in Module stdwin.
* getcwd: posix.
* getdefscrollbars: Functions Defined in Module stdwin.
* getdefwinpos: Functions Defined in Module stdwin.
* getdefwinsize: Functions Defined in Module stdwin.
* getdocsize on window: Window Object.
* getegid: posix.
* geteuid: posix.
* getevent: Functions Defined in Module stdwin.
* getfd on audio port object: al.
* getfgcolor: Functions Defined in Module stdwin.
* getfgcolor on drawing: Drawing Object.
* getfillable on audio port object: al.
* getfilled on audio port object: al.
* getfillpoint on audio port object: al.
* getfloatmax on audio configuration object: al.
* getfocus on text-edit: Text-edit Object.
* getfocustext on text-edit: Text-edit Object.
* getfontinfo on font handle: fm.
* getfontname on font handle: fm.
* getgid: posix.
* getgrall: grp.
* getgrgid: grp.
* getgrnam: grp.
* gethostbyname: socket.
* getinfo on audio device: Audio device object methods.
* getmcolor: Functions defined in module fl.
* getorigin on window: Window Object.
* getparams: al.
* getpeername on socket: Socket Object.
* getpid: posix.
* getppid: posix.
* getpwall: pwd.
* getpwnam: pwd.
* getpwuid: pwd.
* getqueuesize on audio configuration object: al.
* getrect on text-edit: Text-edit Object.
* getsampfmt on audio configuration object: al.
* getsample: audioop.
* getscrmm: Functions Defined in Module stdwin.
* getscrsize: Functions Defined in Module stdwin.
* getselection: Functions Defined in Module stdwin.
* getservbyname: socket.
* getsize on bitmap: Bitmap Object.
* getsizes: imgfile.
* getsockname on socket: Socket Object.
* getsockopt on socket: Socket Object.
* getstatus on audio port object: al.
* getstrwidth on font handle: fm.
* gettext on text-edit: Text-edit Object.
* gettitle on window: Window Object.
* gettitle on window: Window Object.
* getuid: posix.
* getwidth on audio configuration object: al.
* getwidth on audio configuration object: al.
* getwinpos on window: Window Object.
* getwinsize on window: Window Object.
* get_directory: Functions defined in module fl.
* get_filename: Functions defined in module fl.
* get_mouse: Functions defined in module fl.
* get_pattern: Functions defined in module fl.
* get_rgbmode: Functions defined in module fl.
* gmtime: time.
* grey22grey: imageop.
* grey2grey2: imageop.
* grey2grey4: imageop.
* grey2mono: imageop.
* grey42grey: imageop.
* group on regex: regex.
* gsub: regsub.
* hasattr: Built-in Functions.
* hash: Built-in Functions.
* has_key (dictionary method): Mapping Types.
* hex: Built-in Functions.
* hide_form on form object: Form object.
* hide_object on FORMS object: FORMS object.
* ibufcount on audio device: Audio device object methods.
* id: Built-in Functions.
* in (operator): Comparisons.
* in (operator): Sequence Types.
* index: string.
* index (list method): Mutable Sequence Types.
* init: fm.
* input: Built-in Functions.
* insert: array.
* insert (list method): Mutable Sequence Types.
* inset: rect.
* int: Built-in Functions.
* int (built-in function): Numeric Types.
* intersect: rect.
* invert on drawing: Drawing Object.
* is (operator): Comparisons.
* is not (operator): Comparisons.
* isabs: posixpath.
* isatty on file: File Objects.
* isdir: posixpath.
* isfile: posixpath.
* islink: posixpath.
* ismount: posixpath.
* isqueued: Functions defined in module fl.
* is_empty: rect.
* join: posixpath.
* join: string.
* joinfields: string.
* keys (dictionary method): Mapping Types.
* kill: posix.
* ldexp: math.
* len: Built-in Functions.
* len (built-in function): Mapping Types.
* len (built-in function): Sequence Types.
* lin2adpcm: audioop.
* lin2adpcm3: audioop.
* lin2lin: audioop.
* lin2ulaw: audioop.
* line on drawing: Drawing Object.
* lineheight: Functions Defined in Module stdwin.
* lineheight on drawing: Drawing Object.
* link: posix.
* listdir: posix.
* listen on socket: Socket Object.
* listfontnames: Functions Defined in Module stdwin.
* ljust: string.
* load: marshal.
* loads: marshal.
* localtime: time.
* locked on lock: thread.
* log: math.
* log10: math.
* long: Built-in Functions.
* long (built-in function): Numeric Types.
* longimagedata: rgbimg.
* longstoimage: rgbimg.
* lower: string.
* lseek: posix.
* lstat: posix.
* makefile on socket: Socket Object.
* make_form: Functions defined in module fl.
* map: Built-in Functions.
* mapcolor: Functions defined in module fl.
* match: regex.
* match on regex: regex.
* max: Built-in Functions.
* max: audioop.
* max (built-in function): Sequence Types.
* maxpp: audioop.
* md5: md5.
* menucreate: Functions Defined in Module stdwin.
* menucreate on window: Window Object.
* message: Functions Defined in Module stdwin.
* millisleep: time.
* millitimer: time.
* min: Built-in Functions.
* min (built-in function): Sequence Types.
* minmax: audioop.
* mkdir: posix.
* mktime: time.
* modf: math.
* mono2grey: imageop.
* move on text-edit: Text-edit Object.
* mpz: mpz.
* mul: audioop.
* mul: audioop.
* newbitmap: Functions Defined in Module stdwin.
* newconfig: al.
* nice: posix.
* noclip on drawing: Drawing Object.
* normcase: posixpath.
* not (operator): Boolean Operations.
* not in (operator): Comparisons.
* not in (operator): Sequence Types.
* nurbscurve: gl.
* nurbssurface: gl.
* nvarray: gl.
* obufcount on audio device: Audio device object methods.
* oct: Built-in Functions.
* open: Built-in Functions.
* open: posix.
* open: Functions Defined in Module stdwin.
* open: sunaudiodev.
* open: dbm.
* openport: al.
* or (operator): Boolean Operations.
* ord: Built-in Functions.
* pack: struct.
* paint on drawing: Drawing Object.
* pick: gl.
* pipe: posix.
* pointinrect: rect.
* pollevent: Functions Defined in Module stdwin.
* poly on drawing: Drawing Object.
* popen: posix.
* pow: math.
* pow: Built-in Functions.
* powm: mpz.
* prstr: fm.
* pwlcurve: gl.
* qdevice: Functions defined in module fl.
* qenter: Functions defined in module fl.
* qread: Functions defined in module fl.
* qreset: Functions defined in module fl.
* qtest: Functions defined in module fl.
* queryparams: al.
* rand: rand.
* random: whrandom.
* range: Built-in Functions.
* raw_input: Built-in Functions.
* read: imgfile.
* read: posix.
* read on audio device: Audio device object methods.
* read on file: File Objects.
* readline on file: File Objects.
* readlines on file: File Objects.
* readlink: posix.
* readsamps on audio port object: al.
* readscaled: imgfile.
* rect2geom: rect.
* recv on socket: Socket Object.
* recvfrom on socket: Socket Object.
* redraw_form on form object: Form object.
* redraw_object on FORMS object: FORMS object.
* reduce: Built-in Functions.
* release on lock: thread.
* reload: Built-in Functions.
* remove (list method): Mutable Sequence Types.
* rename: posix.
* replace on text-edit: Text-edit Object.
* repr: Built-in Functions.
* resetselection: Functions Defined in Module stdwin.
* reverse: audioop.
* reverse (list method): Mutable Sequence Types.
* rfind: string.
* rindex: string.
* rjust: string.
* rmdir: posix.
* rms: audioop.
* rotatecutbuffers: Functions Defined in Module stdwin.
* round: Built-in Functions.
* samefile: posixpath.
* scale: imageop.
* scalefont on font handle: fm.
* scroll on window: Window Object.
* search: regex.
* search on regex: regex.
* seed: whrandom.
* seek on file: File Objects.
* select: gl.
* select: select.
* send on socket: Socket Object.
* sendto on socket: Socket Object.
* setactive on window: Window Object.
* setattr: Built-in Functions.
* setbgcolor: Functions Defined in Module stdwin.
* setbgcolor on drawing: Drawing Object.
* setbit on bitmap: Bitmap Object.
* setchannels on audio configuration object: al.
* setconfig on audio port object: al.
* setcutbuffer: Functions Defined in Module stdwin.
* setdefscrollbars: Functions Defined in Module stdwin.
* setdefwinpos: Functions Defined in Module stdwin.
* setdefwinsize: Functions Defined in Module stdwin.
* setdocsize on window: Window Object.
* setfgcolor: Functions Defined in Module stdwin.
* setfgcolor on drawing: Drawing Object.
* setfillpoint on audio port object: al.
* setfloatmax on audio configuration object: al.
* setfocus on text-edit: Text-edit Object.
* setfont: Functions Defined in Module stdwin.
* setfont on drawing: Drawing Object.
* setfont on font handle: fm.
* setgid: posix.
* setinfo on audio device: Audio device object methods.
* setitem on menu: Menu Object.
* setoption: jpeg.
* setorigin on window: Window Object.
* setparams: al.
* setpath: fm.
* setprofile: sys.
* setqueuesize on audio configuration object: al.
* setsampfmt on audio configuration object: al.
* setselection on window: Window Object.
* setsockopt on socket: Socket Object.
* settext on text-edit: Text-edit Object.
* settimer on window: Window Object.
* settitle on window: Window Object.
* settrace: sys.
* setuid: posix.
* setview on text-edit: Text-edit Object.
* setwincursor on window: Window Object.
* setwinpos on window: Window Object.
* setwinsize on window: Window Object.
* set_call_back on FORMS object: FORMS object.
* set_event_call_back: Functions defined in module fl.
* set_form_position on form object: Form object.
* set_graphics_mode: Functions defined in module fl.
* set_syntax: regex.
* shade on drawing: Drawing Object.
* show on window: Window Object.
* show_choice: Functions defined in module fl.
* show_file_selector: Functions defined in module fl.
* show_form on form object: Form object.
* show_input: Functions defined in module fl.
* show_message: Functions defined in module fl.
* show_object on FORMS object: FORMS object.
* show_question: Functions defined in module fl.
* shutdown on socket: Socket Object.
* sin: math.
* sinh: math.
* sizeofimage: rgbimg.
* sleep: time.
* socket: socket.
* sort (list method): Mutable Sequence Types.
* split: posixpath.
* split: regsub.
* split: string.
* splitext: posixpath.
* splitfields: string.
* sqrt: mpz.
* sqrt: math.
* sqrtrem: mpz.
* srand: rand.
* start_new_thread: thread.
* stat: posix.
* str: Built-in Functions.
* strip: string.
* sub: regsub.
* swapcase: string.
* symcomp: regex.
* symlink: posix.
* system: posix.
* tan: math.
* tanh: math.
* tell on file: File Objects.
* text on drawing: Drawing Object.
* textbreak: Functions Defined in Module stdwin.
* textbreak on drawing: Drawing Object.
* textcreate on window: Window Object.
* textwidth: Functions Defined in Module stdwin.
* textwidth on drawing: Drawing Object.
* tie: Functions defined in module fl.
* time: time.
* times: posix.
* tofile: array.
* tolist: array.
* tomono: audioop.
* tostereo: audioop.
* tostring: array.
* tovideo: imageop.
* ttob: imgfile.
* ttob: rgbimg.
* type: Built-in Functions.
* type (built-in function): Built-in Objects.
* ulaw2lin: audioop.
* umask: posix.
* uname: posix.
* unfreeze_form on form object: Form object.
* unfreeze_object on FORMS object: FORMS object.
* union: rect.
* unlink: posix.
* unpack: struct.
* unqdevice: Functions defined in module fl.
* update on md5: md5.
* upper: string.
* utime: posix.
* varray: gl.
* vnarray: gl.
* wait: posix.
* waitpid: posix.
* walk: posixpath.
* write: posix.
* write: imgfile.
* write on audio device: Audio device object methods.
* write on file: File Objects.
* writesamps on audio port object: al.
* xorcircle on drawing: Drawing Object.
* xorelarc on drawing: Drawing Object.
* xorline on drawing: Drawing Object.
* xorpoly on drawing: Drawing Object.
* zfill: string.
* _exit: posix.
File: python-lib.info, Node: Variable Index, Next: Module Index, Prev: Function Index, Up: Top
Variable Index
**************
* Menu:
* AF_INET: socket.
* AF_UNIX: socket.
* altzone: time.
* argv: sys.
* atof_error: string.
* atoi_error: string.
* atol_error: string.
* AttributeError: Exceptions.
* builtin_module_names: sys.
* casefold: regex.
* curdir: os.
* daylight: time.
* digits: string.
* e: math.
* empty: rect.
* environ: posix.
* EOFError: Exceptions.
* error: audioop.
* error: imageop.
* error: rgbimg.
* error: rect.
* error: dbm.
* error: select.
* error: sunaudiodev.
* error: posix.
* error: struct.
* error: imgfile.
* error: socket.
* error: thread.
* error: regex.
* exc_traceback: sys.
* exc_type: sys.
* exc_value: sys.
* exitfunc: sys.
* givenpat: regex.
* groupindex: regex.
* hexdigits: string.
* ImportError: Exceptions.
* IndexError: Exceptions.
* index_error: string.
* IOError: Exceptions.
* itemsize: array.
* KeyboardInterrupt: Exceptions.
* KeyError: Exceptions.
* last: regex.
* last_traceback: sys.
* last_type: sys.
* last_value: sys.
* letters: string.
* lowercase: string.
* math (Built-in object): Numeric Types.
* MemoryError: Exceptions.
* modules: sys.
* name: os.
* NameError: Exceptions.
* None (Built-in object): Truth Value Testing.
* octdigits: string.
* OverflowError: Exceptions.
* pardir: os.
* path: os.
* path: sys.
* pi: math.
* ps1: sys.
* ps2: sys.
* realpat: regex.
* regs: regex.
* RuntimeError: Exceptions.
* sep: os.
* SOCK_DGRAM: socket.
* SOCK_STREAM: socket.
* stderr: sys.
* stdin: sys.
* stdout: sys.
* SyntaxError: Exceptions.
* SystemError: Exceptions.
* SystemExit: Exceptions.
* timezone: time.
* tracebacklimit: sys.
* translate: regex.
* typecode: array.
* TypeError: Exceptions.
* tzname: time.
* uppercase: string.
* ValueError: Exceptions.
* whitespace: string.
* ZeroDivisionError: Exceptions.
File: python-lib.info, Node: Module Index, Next: Concept Index, Prev: Variable Index, Up: Top
Module Index
************
* Menu:
* al (built-in): al.
* AL (standard): AL (uppercase).
* array (built-in): array.
* audioop (built-in): audioop.
* dbm (built-in): dbm.
* DEVICE (standard): Standard Modules GL and DEVICE.
* fl (built-in): fl.
* FL (standard): FL (uppercase).
* flp (standard): flp.
* fm (built-in): fm.
* getopt (standard): getopt.
* gl (built-in): gl.
* GL (standard): Standard Modules GL and DEVICE.
* grp (built-in): grp.
* imageop (built-in): imageop.
* imgfile (built-in): imgfile.
* jpeg (built-in): jpeg.
* marshal (built-in): marshal.
* math (built-in): math.
* md5 (built-in): md5.
* mpz (built-in): mpz.
* os (standard): os.
* posix (built-in): posix.
* posixpath (standard): posixpath.
* pwd (built-in): pwd.
* rand (standard): rand.
* rect (standard): rect.
* regex (built-in): regex.
* regsub (standard): regsub.
* rgbimg (built-in): rgbimg.
* rotor (built-in): rotor.
* select (built-in): select.
* socket (built-in): socket.
* stdwin (built-in): stdwin.
* stdwinevents (standard): stdwinevents.
* string (standard): string.
* struct (built-in): struct.
* sunaudiodev (built-in): sunaudiodev.
* sys (built-in): sys.
* thread (built-in): thread.
* time (built-in): time.
* whrandom (standard): whrandom.
* __builtin__ (built-in): __builtin__.
* __main__ (built-in): __main__.